class CreateMarcas < ActiveRecord::Migration
  def self.up
    create_table :marcas do |t|
      t.column :nome, :string, :null => false, :unique => true
      t.column :descricao, :text
      t.column :site, :string
    end
  end

  def self.down
    drop_table :marcas
  end
end
